package service.impl;

import mapper.CategoryMapper;
import org.springframework.stereotype.Service;
import pojo.AppCategory;
import service.CategoryService;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CategoryServiceImpl implements CategoryService {
    @Resource
    private CategoryMapper categoryMapper;
    @Override
    public List<AppCategory> cateList(Integer parentId) {
        return categoryMapper.cateList(parentId);
    }
}
